﻿
using HiSportApplet.Core.Enum;
using System.ComponentModel.DataAnnotations;

namespace HiSportApplet.Application.Service.Auth.Dtos
{
    /// <summary>
    /// 创建系统会员
    /// </summary>
    public class CreateSysMemberInputDto
    {
        /// <summary>
        /// OpenID
        /// </summary>
        [Required]
        public string  OpenId { get; set; }


        /// <summary>
        /// 手机号
        /// </summary>     
        [Required]
        public string Phone { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string HeadUrl { get; set; }

        /// <summary>
        /// 性别(0-未知；1-男；2-女；)
        /// </summary>


        public GenderEnum Sex { get; set; }

        /// <summary>
        /// 生日
        /// </summary>

        public DateTime? Birthday { get; set; }


        /// <summary>
        /// 昵称
        /// </summary>       
        public string NickName { get; set; }


        /// <summary>
        /// 城市
        /// </summary>       
        public string City { get; set; }


        /// <summary>
        /// 省
        /// </summary>        
        public string Province { get; set; }


        /// <summary>
        /// UnionId
        /// </summary>      

        public string UnionId { get; set; }
    }
}
